﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SortLeft.aspx.cs" Inherits="HZ.Supervise.Web.PageControl.SortLeft" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
        <link rel="stylesheet" type="text/css" href="../Style/s-type.css" />
        <script src="../Scripts/jquery-1.3.2.min.js" type="text/javascript"></script>
        <script src="../scripts/DynaForm.js" type="text/javascript"></script>
<script src="../scripts/GenUtils.js" type="text/javascript"></script>
        <script type="text/javascript" language="JavaScript"> 　
        function seturl(sortname) {
         CallFunc('../../Secondphase/ReportSort/ReportOfDurgFirstLevel.aspx?sessionid='+encodeURI(sortname), 'FORM', null, 'Main');
//            $("#ifmain").attr("src", "../Secondphase/ReportSort/ReportOfDurgFirstLevel.aspx?sessionid=" + encodeURI(sortname));
        }
        function IFrameReSize(iframename) {
            var pTar = document.getElementById(iframename);
            if (pTar) {  //ff
                if (pTar.contentDocument && pTar.contentDocument.body.offsetHeight) {
                    pTar.height = pTar.contentDocument.body.offsetHeight;
                } //ie
                else if (pTar.Document && pTar.Document.body.scrollHeight) {
                    pTar.height = pTar.Document.body.scrollHeight;

                }
            }
        }
        //iframe宽度自适应
        function IFrameReSizeWidth(iframename) {
            var pTar = document.getElementById(iframename);
            if (pTar) {  //ff
                if (pTar.contentDocument && pTar.contentDocument.body.offsetWidth) {
                    pTar.width = pTar.contentDocument.body.offsetWidth;
                }  //ie
                else if (pTar.Document && pTar.Document.body.scrollWidth) {
                pTar.width = pTar.Document.body.scrollWidth ;
                }
            }
        }
      

    </script>
</head>
<body>
    <form id="form1" runat="server">
<div id="s-left">
                <div id="s-nav_wrap">
                    <div id="s-nav">
                        <ul class="c">
                            <li class="s-title"><span class="v">
                                <img src="../lib/images/s-img1.gif" />检索</span>
                                </li>
                        </ul>
                    </div>
                    <!--nav-->
                    <div id="s-tmenu">
                        <table width="95%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td>
                                    <asp:Label ID="lbname" runat="server" Text="类别名称 "></asp:Label>
                                </td>
                                <td class="style2">
                                    <asp:TextBox ID="txtname" runat="server" Height="16px" Width="102px"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:ImageButton ID="ImageButton1" runat="server" OnClick="btnQuery_Click" ImageUrl="~/lib/images/s-search.gif"
                                        Width="50px" Height="20px" text="查询" ToolTip="点击查询符合条件的数据" />
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <!--nav_wrap-->
                <div id="s-yy">
                    <div id="s-yy-title">
                        <img src="../lib/images/s-img1.gif" />类别名称</div>
                    <div id="s-yy-content">
                        <asp:GridView ID="gvwselect" runat="server" AutoGenerateColumns="False"
                            CssClass="table2" Width="100%"
                            OnRowDataBound="gvwselect_RowDataBound" EmptyDataText="无符合条件的数据！" >
                            <Columns>
                                <asp:BoundField DataField="SortName" HeaderText="类别名称" ItemStyle-HorizontalAlign="Center" >
<ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" ></ItemStyle>
                                </asp:BoundField>
                            </Columns>
                        </asp:GridView>
                        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" ShowPageSizeBox="false" ShowMoreButtons="true"
                                onpagechanged="AspNetPager1_PageChanged" NumericButtonCount="5" PageSize="8"
                                ReverseUrlPageIndex="false" ShowDisabledButtons="False" SkinID="gridviewLeft"
                                ShowFirstLast="False" ShowPrevNext="False" CustomInfoHTML="" 
                                CustomInfoStyle="display:none" Wrap="False">
                        </webdiyer:AspNetPager>
                    </div>
                </div>
            </div>
    </form>
</body>
</html>
